﻿#ifndef DDBController_H
#define DDBController_H

#include <QSqlDatabase>
#include <QSqlError>
#include <QSqlQuery>
#include <QSqlRecord>

#include "DObjectHeader.h"

class DDBController
{
public:
    DDBController();

    void loadSubmitList();
    void loadDB();
    std::vector<QSqlRecord> execSQL(const QString& strSQL);
};

D_DECLARE_OBJ(DDBController, "org.d.DDBController")

#endif  // DDBController_H
